
#include <cuda_runtime.h>
#include <device_launch_parameters.h>
#include <stdio.h>
#include <stdlib.h>

#define THREAD_NUM 256

bool InitCUDA();
__global__ void cuIHSFusion(float* dev_bBuf, float* dev_gBuf, float* dev_rBuf,float* dev_panBuf ,float m_a1,float m_a0,int wid,int hei);

void IHSFusion(float* m_bBuf,float* m_gBuf, float* m_rBuf,float* m_panBuf , int size, float m_a1,float m_a0, int wid,int hei);